<%-- 
    Document   : popuptemplate
    Created on : Jun 4, 2012, 2:47:19 PM
    Author     : ems
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="../css/popup.css"/>
       
    </head>
        <script type="text/javascript" language="javascript">
            var open_cur = 0;
            $j = jQuery.noConflict();
            $j(document).ready(function(){
              
             

            });
          </script>
    <body style=" float:left; width:auto; height:auto; margin:0px;">
        <div class="popup" style="height:400px; width:600px">
             <div class="popup-header">
                 <div class="title">Header cua pop up</div>
             </div>
             <div class="popup-content">
                 <div class="main_content">content cua pop up</div>
             </div>
             <div class="popup-footer">
                
                 <div class="button" onclick="jQuery.fancybox.close() "  ><span>Đóng</span></div>
                  <div class="button"  > <span>Lưu</span></div>
                  
             </div>
        </div>
    </body>
</html>
        <script type="text/javascript">
            $j(document).ready(function(){
                 yhight = ($j('.popup').height()-90)+"px" ;
                 $j('.main_content').css('height',yhight );
                 $j('.popup-content').css('height',yhight );
            });
        </script>